package com.battery.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.battery.common.annotation.Excel;

/**
 * 免电APP版本管理对象 ws_version_app
 * 
 * @author battery
 * @date 2021-03-16
 */
    public class VersionApp
{
    /**  */
    private Long id;

    private String Code;

    public String getCode() {
        return "0";
    }

    /** 版本号 */
    @Excel(name = "版本号")
    private String Version;

    /** 0代表不更新，1有版本更新，不需要强制升级，2有版本更新，需要强制升级 */
    @Excel(name = "0代表不更新，1有版本更新，不需要强制升级，2有版本更新，需要强制升级")
    private Long UpdateStatus;

    /** APP版本Code */
    @Excel(name = "APP版本Code")
    private String VersionCode;

    /** APP版本名称 */
    @Excel(name = "APP版本名称")
    private String VersionName;

    /** 更新内容 */
    @Excel(name = "更新内容")
    private String ModifyContent;

    /** APP安装包(.apk)下载链接 */
    @Excel(name = "APP安装包(.apk)下载链接")
    private String DownloadUrl;

    /** APP安装包大小 */
    @Excel(name = "APP安装包大小")
    private Long ApkSize;

    /** APP安装包MD5值 */
    @Excel(name = "APP安装包MD5值")
    private String ApkMd5;

    /** 字段文档地址https://github.com/xuexiangjys/XUpdate/wiki/%E6%9B%B4%E6%96%B0%E5%AE%9E%E4%BD%93%E5%AD%97%E6%AE%B5%E4%BB%8B%E7%BB%8D */
    @Excel(name = "字段文档地址https://github.com/xuexiangjys/XUpdate/wiki/%E6%9B%B4%E6%96%B0%E5%AE%9E%E4%BD%93%E5%AD%97%E6%AE%B5%E4%BB%8B%E7%BB%8D")
    private String Document;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setVersion(String Version) 
    {
        this.Version = Version;
    }

    public String getVersion() 
    {
        return Version;
    }
    public void setUpdateStatus(Long UpdateStatus) 
    {
        this.UpdateStatus = UpdateStatus;
    }

    public Long getUpdateStatus() 
    {
        return UpdateStatus;
    }
    public void setVersionCode(String VersionCode) 
    {
        this.VersionCode = VersionCode;
    }

    public String getVersionCode() 
    {
        return VersionCode;
    }
    public void setVersionName(String VersionName) 
    {
        this.VersionName = VersionName;
    }

    public String getVersionName() 
    {
        return VersionName;
    }
    public void setModifyContent(String ModifyContent) 
    {
        this.ModifyContent = ModifyContent;
    }

    public String getModifyContent() 
    {
        return ModifyContent;
    }
    public void setDownloadUrl(String DownloadUrl) 
    {
        this.DownloadUrl = DownloadUrl;
    }

    public String getDownloadUrl() 
    {
        return DownloadUrl;
    }
    public void setApkSize(Long ApkSize) 
    {
        this.ApkSize = ApkSize;
    }

    public Long getApkSize() 
    {
        return ApkSize;
    }
    public void setApkMd5(String ApkMd5) 
    {
        this.ApkMd5 = ApkMd5;
    }

    public String getApkMd5() 
    {
        return ApkMd5;
    }
    public void setDocument(String Document) 
    {
        this.Document = Document;
    }

    public String getDocument() 
    {
        return Document;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("Code", getCode())
            .append("Version", getVersion())
            .append("UpdateStatus", getUpdateStatus())
            .append("VersionCode", getVersionCode())
            .append("VersionName", getVersionName())
            .append("ModifyContent", getModifyContent())
            .append("DownloadUrl", getDownloadUrl())
            .append("ApkSize", getApkSize())
            .append("ApkMd5", getApkMd5())
            .append("Document", getDocument())
            .toString();
    }
}
